package com.ruoyi.project.config.resources.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 资源配置对象 resources_config
 * 
 * @author wyh
 * @date 2024-06-17
 */
public class ResourcesConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** accessKey */
    @Excel(name = "accessKey")
    private String accessKey;

    /** secretKey */
    @Excel(name = "secretKey")
    private String secretKey;

    /** 存储桶 */
    @Excel(name = "存储桶")
    private String bucket;

    /** 地区 */
    @Excel(name = "地区")
    private String zone;

    /** 域名 */
    @Excel(name = "域名")
    private String domain;

    /** 路径 */
    @Excel(name = "路径")
    private String path;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setAccessKey(String accessKey) 
    {
        this.accessKey = accessKey;
    }

    public String getAccessKey() 
    {
        return accessKey;
    }
    public void setSecretKey(String secretKey) 
    {
        this.secretKey = secretKey;
    }

    public String getSecretKey() 
    {
        return secretKey;
    }
    public void setBucket(String bucket) 
    {
        this.bucket = bucket;
    }

    public String getBucket() 
    {
        return bucket;
    }
    public void setZone(String zone) 
    {
        this.zone = zone;
    }

    public String getZone() 
    {
        return zone;
    }
    public void setDomain(String domain) 
    {
        this.domain = domain;
    }

    public String getDomain() 
    {
        return domain;
    }
    public void setPath(String path) 
    {
        this.path = path;
    }

    public String getPath() 
    {
        return path;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("accessKey", getAccessKey())
            .append("secretKey", getSecretKey())
            .append("bucket", getBucket())
            .append("zone", getZone())
            .append("domain", getDomain())
            .append("path", getPath())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("remark", getRemark())
            .toString();
    }
}
